from django.contrib import admin
from comments.models import Comment


# Register your models here.


class CommentAdmin(admin.ModelAdmin):
    list_display = ('name', 'email', 'pub_date')  # list_display来挑选要显示出来的字段


admin.site.register(Comment, CommentAdmin)
